package com.dao.primary.user;
import com.model.domain.user.GetUserInfoDO;
import com.model.pojo.user.UserInfo;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

public interface UserInfoMapper {
    int deleteByPrimaryKey(@Param("userInfoId") Long userInfoId);

    int insert(UserInfo record);

    int insertSelective(UserInfo record);

    UserInfo selectByPrimaryKey(@Param("id") Long id);

    UserInfo selectByCellphone(@Param("cellphone") String cellphone);

    int updateByPrimaryKeySelective(UserInfo record);

    int updateByPrimaryKey(UserInfo record);

    List<UserInfo> selectList(GetUserInfoDO getuserInfoDO);

    void insertListSelective(List<UserInfo> userInfoList);

    void updateListSelective(List<UserInfo> userInfoList);

    int has(@Param("userInfoId") Long userInfoId, @Param("isDelete") Byte isDelete);
}